600 |
How can I display minutes
public void init() { COM com_Level; anytype var_Level; ; super(); exg2antt1.Chart().LevelCount(2); exg2antt1.Chart().UnitWidth(64); var_Level = COM::createFromObject(exg2antt1.Chart()).Level(0); com_Level = var_Level; com_Level.Label(COMVariant::createFromInt(65536)); var_Level = COM::createFromObject(exg2antt1.Chart()).Level(1); com_Level = var_Level; com_Level.Label(COMVariant::createFromInt(1048576)); } |
599 |
How can I display seconds, from 15 to 15
public void init() { COM com_Level; anytype var_Level; ; super(); exg2antt1.Chart().FirstVisibleDate("00:00"); exg2antt1.Chart().LevelCount(2); var_Level = COM::createFromObject(exg2antt1.Chart()).Level(0); com_Level = var_Level; com_Level.Label(COMVariant::createFromInt(1048576)); var_Level = COM::createFromObject(exg2antt1.Chart()).Level(1); com_Level = var_Level; com_Level.Label("<%ss%>"); com_Level.Count(15); } |
598 |
How can I display seconds
public void init() { COM com_Level; anytype var_Level; ; super(); exg2antt1.Chart().LevelCount(2); var_Level = COM::createFromObject(exg2antt1.Chart()).Level(0); com_Level = var_Level; com_Level.Label(COMVariant::createFromInt(1048576)); var_Level = COM::createFromObject(exg2antt1.Chart()).Level(1); com_Level = var_Level; com_Level.Label("<%ss%>"); } |
597 |
How can I display seconds
public void init() { COM com_Level; anytype var_Level; ; super(); exg2antt1.Chart().LevelCount(2); var_Level = COM::createFromObject(exg2antt1.Chart()).Level(0); com_Level = var_Level; com_Level.Label(COMVariant::createFromInt(1048576)); var_Level = COM::createFromObject(exg2antt1.Chart()).Level(1); com_Level = var_Level; com_Level.Label(COMVariant::createFromInt(16777216)); } |
596 |
How can I align the text being shown in the chart's header
|
595 |
How can I hide the tooltip being displayed in the chart's header
|
594 |
How can I change the tooltip being displayed in the chart's header
|
593 |
How can I change the visual appearance of the chart's header, where levels are displayed, using your EBN files
public void init() { ; super(); exg2antt1.VisualAppearance().Add(1,"c:\\exontrol\\images\\normal.ebn"); exg2antt1.Chart().LevelCount(2); exg2antt1.Chart().BackColorLevelHeader(0x1000000); } |
592 |
How can I change the level's foreground color in the chart
public void init() { COM com_Level; anytype var_Level; ; super(); exg2antt1.Chart().LevelCount(2); var_Level = COM::createFromObject(exg2antt1.Chart()).Level(0); com_Level = var_Level; com_Level.ForeColor(WinApi::RGB2int(255,0,0)); var_Level = COM::createFromObject(exg2antt1.Chart()).Level(1); com_Level = var_Level; com_Level.ForeColor(WinApi::RGB2int(0,0,255)); } |
591 |
How can I change the level's background color in the chart
|
590 |
How can I save data on XML format
|
589 |
How can I load data on XML format
|
588 |
How can I add icons or pictures to the scale or zoom area
public void init() { COM com_Chart,com_Items; anytype var_Chart,var_Items; str var_s; ; super(); exg2antt1.HTMLPicture("pic1","c:\\exontrol\\images\\zipdisk.gif"); var_s = "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql"; var_s = var_s + "Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0"; var_s = var_s + "ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN"; var_s = var_s + "AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="; exg2antt1.Images(COMVariant::createFromStr(var_s)); var_Chart = exg2antt1.Chart(); com_Chart = var_Chart; com_Chart.OverviewHeight(48); com_Chart.OverviewVisible(2/*exOverviewShowAllVisible*/); com_Chart.AllowOverviewZoom(-1/*exZoomOnRClick*/); com_Chart.OverviewZoomCaption("Year|½Year|¼Year|<img>3</img> Week|Third|<img>2</img> Day|<img>pic1</img>|Hour|Min|Sec"); com_Chart.Label(0/*exYear*/,""); com_Chart.Label(1/*exHalfYear*/,""); com_Chart.Label(2/*exQuarterYear*/,""); com_Chart.Label(17/*exThirdMonth*/,""); com_Chart.Label(65536/*exHour*/,""); com_Chart.Label(1048576/*exMinute*/,""); com_Chart.Label(16777216/*exSecond*/,""); com_Chart.OverviewZoomUnit(52); exg2antt1.Columns().Add(""); var_Items = exg2antt1.Items(); com_Items = var_Items; com_Items.CellSingleLine(com_Items.AddItem("Right click the Overview area and select a new scale"),COMVariant::createFromInt(0),false); } |
587 |
How can I add icons or pictures to the scale or zoom area
public void init() { COM com_Chart; anytype var_Chart; str var_s; ; super(); exg2antt1.HTMLPicture("pic1","c:\\exontrol\\images\\zipdisk.gif"); var_s = "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql"; var_s = var_s + "Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0"; var_s = var_s + "ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN"; var_s = var_s + "AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="; exg2antt1.Images(COMVariant::createFromStr(var_s)); var_Chart = exg2antt1.Chart(); com_Chart = var_Chart; com_Chart.OverviewHeight(48); com_Chart.OverviewVisible(2/*exOverviewShowAllVisible*/); com_Chart.AllowOverviewZoom(1/*exAlwaysZoom*/); com_Chart.OverviewZoomCaption("Year|½Year|¼Year|<img>3</img> Week|Third|<img>2</img> Day|<img>pic1</img>|Hour|Min|Sec"); com_Chart.Label(0/*exYear*/,""); com_Chart.Label(1/*exHalfYear*/,""); com_Chart.Label(2/*exQuarterYear*/,""); com_Chart.Label(17/*exThirdMonth*/,""); com_Chart.Label(65536/*exHour*/,""); com_Chart.Label(1048576/*exMinute*/,""); com_Chart.Label(16777216/*exSecond*/,""); com_Chart.OverviewZoomUnit(52); } |
586 |
How can I change the width of the unit in the scale or zoom
|
585 |
How can I a scale or zoom of the chart, when right clicking the chart's header
public void init() { COM com_Chart,com_Items; anytype var_Chart,var_Items; str var_s; ; super(); var_s = "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql"; var_s = var_s + "Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0"; var_s = var_s + "ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN"; var_s = var_s + "AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="; exg2antt1.Images(COMVariant::createFromStr(var_s)); var_Chart = exg2antt1.Chart(); com_Chart = var_Chart; com_Chart.OverviewVisible(2/*exOverviewShowAllVisible*/); com_Chart.AllowOverviewZoom(-1/*exZoomOnRClick*/); com_Chart.OverviewZoomCaption("Year|½Year|¼Year|<img>3</img>Month|Third|<img>2</img>Week|<img>1</img>Day|Hour|Min|Sec"); com_Chart.Label(0/*exYear*/,""); com_Chart.Label(1/*exHalfYear*/,""); com_Chart.Label(2/*exQuarterYear*/,""); com_Chart.Label(17/*exThirdMonth*/,""); com_Chart.Label(65536/*exHour*/,""); com_Chart.Label(1048576/*exMinute*/,""); com_Chart.Label(16777216/*exSecond*/,""); com_Chart.OverviewZoomUnit(64); exg2antt1.Columns().Add(""); var_Items = exg2antt1.Items(); com_Items = var_Items; com_Items.CellSingleLine(com_Items.AddItem("Right click the Overview area and select a new scale"),COMVariant::createFromInt(0),false); } |
584 |
How can I a customize the scale or zoom of the chart
public void init() { COM com_Chart; anytype var_Chart; str var_s; ; super(); var_s = "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql"; var_s = var_s + "Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0"; var_s = var_s + "ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN"; var_s = var_s + "AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="; exg2antt1.Images(COMVariant::createFromStr(var_s)); var_Chart = exg2antt1.Chart(); com_Chart = var_Chart; com_Chart.OverviewVisible(2/*exOverviewShowAllVisible*/); com_Chart.AllowOverviewZoom(1/*exAlwaysZoom*/); com_Chart.OverviewZoomCaption("Year|½Year|¼Year|<img>3</img>Month|Third|<img>2</img>Week|<img>1</img>Day|Hour|Min|Sec"); com_Chart.Label(0/*exYear*/,""); com_Chart.Label(1/*exHalfYear*/,""); com_Chart.Label(2/*exQuarterYear*/,""); com_Chart.Label(17/*exThirdMonth*/,""); com_Chart.Label(65536/*exHour*/,""); com_Chart.Label(1048576/*exMinute*/,""); com_Chart.Label(16777216/*exSecond*/,""); com_Chart.OverviewZoomUnit(64); } |
583 |
How can I a scale or zoom the chart at runtime
public void init() { COM com_Chart; anytype var_Chart; str var_s; ; super(); var_s = "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql"; var_s = var_s + "Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0"; var_s = var_s + "ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN"; var_s = var_s + "AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="; exg2antt1.Images(COMVariant::createFromStr(var_s)); var_Chart = exg2antt1.Chart(); com_Chart = var_Chart; com_Chart.OverviewVisible(2/*exOverviewShowAllVisible*/); com_Chart.AllowOverviewZoom(1/*exAlwaysZoom*/); com_Chart.OverviewZoomCaption("½Year|¼Year|<img>3</img>Month|Third|<img>2</img>Week|<img>1</img>Day|Hour|Min|Sec"); } |
582 |
How can I a scale or zoom the chart at runtime
public void init() { COM com_Chart; anytype var_Chart; ; super(); var_Chart = exg2antt1.Chart(); com_Chart = var_Chart; com_Chart.OverviewVisible(2/*exOverviewShowAllVisible*/); com_Chart.AllowOverviewZoom(1/*exAlwaysZoom*/); com_Chart.OverviewZoomUnit(24); } |
581 |
How can I a programmatically select a date
public void init() { ; super(); exg2antt1.Chart().MarkSelectDateColor(WinApi::RGB2int(255,0,0)); exg2antt1.Chart().SelectLevel(0); exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213))); exg2antt1.Chart().SelectDate(str2Date("1/2/2001",213),true); exg2antt1.Chart().SelectDate(str2Date("1/5/2001",213),true); } |
580 |
How can I change the color to select a date, when clicking the chart's header
|
579 |
How can I enable or disable selecting a date, when clicking the chart's header
|
578 |
How can I specify the color or the stype for non working hours
|
577 |
How can I specify the pattern or the stype for non working hours
|
576 |
How can I specify the non working hours
|
575 |
How can I get the index of the level from the point or cursor
|
574 |
How can I get the link from the point or cursor
|
573 |
How can I disable or enable at runtime linking the bars
public void init() { COM com_Items; anytype var_Items; ; super(); exg2antt1.Chart().AllowLinkBars(true); exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213))); exg2antt1.Columns().Add("Column"); var_Items = exg2antt1.Items(); com_Items = var_Items; com_Items.AddBar(com_Items.AddItem("Item 1"),"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213)),"B1"); com_Items.AddBar(com_Items.AddItem("Item 2"),"Task",COMVariant::createFromDate(str2Date("1/6/2001",213)),COMVariant::createFromDate(str2Date("1/14/2001",213)),"B2"); } |
572 |
How can I check or verify if a date is a non working day
|
571 |
How can I check or verify if a date fits the chart's visible area
|
570 |
How can I add a remove all non working days
|
569 |
How can I add a remove a non working days
|
568 |
How can I add a custom non working days
public void init() { ; super(); exg2antt1.Chart().NonworkingDays(0); exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213))); exg2antt1.Chart().AddNonworkingDate(COMVariant::createFromDate(str2Date("1/1/2001",213))); exg2antt1.Chart().AddNonworkingDate(COMVariant::createFromDate(str2Date("1/5/2001",213))); } |
567 |
How can hide the non working days
|
566 |
How can hide the non working days
public void init() { ; super(); exg2antt1.Chart().NonworkingDays(0); } |
565 |
How can I let user adds new bars at runtime
public void init() { COM com_Items; anytype var_Items; ; super(); exg2antt1.Chart().AllowCreateBar(1/*exCreateBarAuto*/); exg2antt1.Columns().Add("Column"); var_Items = exg2antt1.Items(); com_Items = var_Items; com_Items.AddItem("Item 1"); com_Items.AddItem("Item 2"); } |
564 |
How can I change the width of the links between bars
public void init() { COM com_Items; anytype var_Items; ; super(); exg2antt1.Chart().LinksStyle(0/*exLinkSolid*/); exg2antt1.Chart().LinksWidth(2); exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213))); exg2antt1.Columns().Add("Column"); var_Items = exg2antt1.Items(); com_Items = var_Items; com_Items.AddBar(com_Items.AddItem("Item 1"),"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213)),"B1"); com_Items.AddBar(com_Items.AddItem("Item 2"),"Task",COMVariant::createFromDate(str2Date("1/6/2001",213)),COMVariant::createFromDate(str2Date("1/14/2001",213)),"B2"); com_Items.AddLink("L1",com_Items.FindItem("Item 1",COMVariant::createFromInt(0)),"B1",com_Items.FindItem("Item 2",COMVariant::createFromInt(0)),"B2"); } |
563 |
How can I change the style for the links between bars
public void init() { COM com_Items; anytype var_Items; ; super(); exg2antt1.Chart().LinksStyle(4/*exLinkDashDotDot*/); exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213))); exg2antt1.Columns().Add("Column"); var_Items = exg2antt1.Items(); com_Items = var_Items; com_Items.AddBar(com_Items.AddItem("Item 1"),"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213)),"B1"); com_Items.AddBar(com_Items.AddItem("Item 2"),"Task",COMVariant::createFromDate(str2Date("1/6/2001",213)),COMVariant::createFromDate(str2Date("1/14/2001",213)),"B2"); com_Items.AddLink("L1",com_Items.FindItem("Item 1",COMVariant::createFromInt(0)),"B1",com_Items.FindItem("Item 2",COMVariant::createFromInt(0)),"B2"); } |
562 |
How can I change the color for the links between bars
public void init() { COM com_Items; anytype var_Items; ; super(); exg2antt1.Chart().LinksColor(WinApi::RGB2int(255,0,0)); exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213))); exg2antt1.Columns().Add("Column"); var_Items = exg2antt1.Items(); com_Items = var_Items; com_Items.AddBar(com_Items.AddItem("Item 1"),"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213)),"B1"); com_Items.AddBar(com_Items.AddItem("Item 2"),"Task",COMVariant::createFromDate(str2Date("1/6/2001",213)),COMVariant::createFromDate(str2Date("1/14/2001",213)),"B2"); com_Items.AddLink("L1",com_Items.FindItem("Item 1",COMVariant::createFromInt(0)),"B1",com_Items.FindItem("Item 2",COMVariant::createFromInt(0)),"B2"); } |
561 |
How can I hide the links between bars
public void init() { COM com_Items; anytype var_Items; ; super(); exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213))); exg2antt1.Columns().Add("Column"); var_Items = exg2antt1.Items(); com_Items = var_Items; com_Items.AddBar(com_Items.AddItem("Item 1"),"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213)),"B1"); com_Items.AddBar(com_Items.AddItem("Item 2"),"Task",COMVariant::createFromDate(str2Date("1/6/2001",213)),COMVariant::createFromDate(str2Date("1/14/2001",213)),"B2"); com_Items.AddLink("L1",com_Items.FindItem("Item 1",COMVariant::createFromInt(0)),"B1",com_Items.FindItem("Item 2",COMVariant::createFromInt(0)),"B2"); exg2antt1.Chart().ShowLinks(false); } |
560 |
How can I display some grid line in the overview area
public void init() { COM com_Items; anytype var_Items; ; super(); exg2antt1.Chart().OverviewVisible(2/*exOverviewShowAllVisible*/); exg2antt1.Chart().OverviewLevelLines(0); exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213))); exg2antt1.Columns().Add("Column"); var_Items = exg2antt1.Items(); com_Items = var_Items; com_Items.AddBar(com_Items.AddItem("Item 1"),"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213))); com_Items.AddBar(com_Items.AddItem("Item 1"),"Task",COMVariant::createFromDate(str2Date("1/6/2001",213)),COMVariant::createFromDate(str2Date("1/14/2001",213))); } |
559 |
How do I change the tooltip when the cursor hovers the overview area
public void init() { COM com_Items; anytype var_Items; ; super(); exg2antt1.Chart().OverviewVisible(2/*exOverviewShowAllVisible*/); exg2antt1.Chart().OverviewToolTip("Tooltip on the overview"); exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213))); exg2antt1.Columns().Add("Column"); var_Items = exg2antt1.Items(); com_Items = var_Items; com_Items.AddBar(com_Items.AddItem("Item 1"),"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213))); com_Items.AddBar(com_Items.AddItem("Item 1"),"Task",COMVariant::createFromDate(str2Date("1/6/2001",213)),COMVariant::createFromDate(str2Date("1/14/2001",213))); } |
558 |
How do I remove the tooltip when the cursor hovers the overview area
public void init() { COM com_Items; anytype var_Items; ; super(); exg2antt1.Chart().OverviewVisible(2/*exOverviewShowAllVisible*/); exg2antt1.Chart().OverviewToolTip(""); exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213))); exg2antt1.Columns().Add("Column"); var_Items = exg2antt1.Items(); com_Items = var_Items; com_Items.AddBar(com_Items.AddItem("Item 1"),"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213))); } |
557 |
How do I change the selection color in the overview area
public void init() { COM com_Items; anytype var_Items; ; super(); exg2antt1.Chart().OverviewVisible(2/*exOverviewShowAllVisible*/); exg2antt1.Chart().OverviewSelBackColor(WinApi::RGB2int(255,0,0)); exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213))); exg2antt1.Columns().Add("Column"); var_Items = exg2antt1.Items(); com_Items = var_Items; com_Items.AddBar(com_Items.AddItem("Item 1"),"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213))); } |
556 |
How do I change the background color for the overview area
public void init() { COM com_Items; anytype var_Items; ; super(); exg2antt1.Chart().OverviewVisible(2/*exOverviewShowAllVisible*/); exg2antt1.Chart().OverviewBackColor(WinApi::RGB2int(255,0,0)); exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213))); exg2antt1.Columns().Add("Column"); var_Items = exg2antt1.Items(); com_Items = var_Items; com_Items.AddBar(com_Items.AddItem("Item 1"),"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213))); } |
555 |
How do I specify the height for the overview area
public void init() { COM com_Items; anytype var_Items; ; super(); exg2antt1.Chart().OverviewVisible(2/*exOverviewShowAllVisible*/); exg2antt1.Chart().OverviewHeight(16); exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213))); exg2antt1.Columns().Add("Column"); var_Items = exg2antt1.Items(); com_Items = var_Items; com_Items.AddBar(com_Items.AddItem("Item 1"),"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213))); } |
554 |
How do I show or hide the control's overview area
public void init() { COM com_Items; anytype var_Items; ; super(); exg2antt1.Chart().OverviewVisible(2/*exOverviewShowAllVisible*/); exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213))); exg2antt1.Columns().Add("Column"); var_Items = exg2antt1.Items(); com_Items = var_Items; com_Items.AddBar(com_Items.AddItem("Item 1"),"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213))); } |
553 |
How do I enable or disable resizing the bars at runtime
|
552 |
How do I get the bar from the point or cursor
// MouseMove event - Occurs when the user moves the mouse. void onEvent_MouseMove(int _Button,int _Shift,int _X,int _Y) { ; print( exg2antt1.ItemFromPoint(-1,-1,c,h) ); print( exg2antt1.Chart().BarFromPoint(-1,-1) ); } public void init() { COM com_Chart,com_Items; anytype var_Chart,var_Items; int h1,h2,h3; ; super(); exg2antt1.BeginUpdate(); exg2antt1.Columns().Add("Task"); var_Chart = exg2antt1.Chart(); com_Chart = var_Chart; com_Chart.FirstVisibleDate(COMVariant::createFromDate(str2Date("12/29/2000",213))); /*should be called during the form's activate method*/ com_Chart.PaneWidth(false,64); com_Chart.LevelCount(2); var_Items = exg2antt1.Items(); com_Items = var_Items; h1 = com_Items.AddItem("Task 1"); com_Items.AddBar(h1,"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213)),"K1"); h2 = com_Items.AddItem("Task 2"); com_Items.AddBar(h2,"Task",COMVariant::createFromDate(str2Date("1/4/2001",213)),COMVariant::createFromDate(str2Date("1/6/2001",213)),"K2"); com_Items.AddLink("L1",h1,"K1",h2,"K2"); h3 = com_Items.AddItem("Task 3"); com_Items.AddBar(h3,"Task",COMVariant::createFromDate(str2Date("1/8/2001",213)),COMVariant::createFromDate(str2Date("1/10/2001",213)),"K3"); com_Items.AddLink("L2",h2,"K2",h3,"K3"); exg2antt1.EndUpdate(); } /* public void activate(boolean _active) { ; super(_active); exg2antt1.Chart().PaneWidth(false,64); } */ |
551 |
How do I specify the color of pattern for non working days
|
550 |
How do I specify the type of pattern for non working days
|
549 |
How do I specify the non working days
|
548 |
How do I specify the non working days
|
547 |
How do I add a predefined bar
public void init() { COM com_Bar,com_Items; anytype var_Bar,var_Items; ; super(); var_Bar = COM::createFromObject(exg2antt1.Chart().Bars()).Add("CustomBar"); com_Bar = var_Bar; com_Bar.Color(WinApi::RGB2int(255,0,0)); exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213))); exg2antt1.Columns().Add("Column"); var_Items = exg2antt1.Items(); com_Items = var_Items; com_Items.AddBar(com_Items.AddItem("Item 1"),"CustomBar",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213))); } |
546 |
How do I change the unit being displayed in the chart
|
545 |
How do I specify the prodefined tooltip being shown on the chart's header, when Zoom method is used
|
544 |
How do I specify the prodefined labels being displayed on the chart, when Zoom method is used
public void init() { ; super(); /*should be called during the form's activate method*/ exg2antt1.Chart().PaneWidth(false,0); exg2antt1.Chart().LevelCount(2); exg2antt1.Chart().Label(1/*exHalfYear*/,""); exg2antt1.Chart().Label(2/*exQuarterYear*/,""); exg2antt1.Chart().Label(16/*exMonth*/,"<%m3%>"); exg2antt1.Chart().Zoom(str2Date("1/1/2007",213),str2Date("1/1/2008",213)); exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2007",213))); } /* public void activate(boolean _active) { ; super(_active); exg2antt1.Chart().PaneWidth(false,0); } */ |
543 |
How do I scale or zoom the chart to a specified range of date
public void init() { ; super(); /*should be called during the form's activate method*/ exg2antt1.Chart().PaneWidth(false,0); exg2antt1.Chart().LevelCount(2); exg2antt1.Chart().Label(1/*exHalfYear*/,""); exg2antt1.Chart().Label(2/*exQuarterYear*/,""); exg2antt1.Chart().Label(16/*exMonth*/,"<%m3%>"); exg2antt1.Chart().Zoom(str2Date("1/1/2007",213),str2Date("1/1/2008",213)); exg2antt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2007",213))); } /* public void activate(boolean _active) { ; super(_active); exg2antt1.Chart().PaneWidth(false,0); } */ |
542 |
How do I scale or zoom the chart to a specified range of date
|
541 |
How do I find the next date or previous date
|
540 |
How can I change the color for the grid lines in the chart
|
539 |
How can I draw, show or hide the grid lines in the chart
public void init() { COM com_Level; anytype var_Level; ; super(); exg2antt1.Chart().DrawGridLines(-1/*exAllLines*/); exg2antt1.Chart().LevelCount(2); var_Level = COM::createFromObject(exg2antt1.Chart()).Level(1); com_Level = var_Level; com_Level.DrawGridLines(true); } |
538 |
How do I change the color to highlight the today in the chart
|
537 |
How do I hide or stop highlighting the today area in the chart
public void init() { COM com_Chart; anytype var_Chart; ; super(); var_Chart = exg2antt1.Chart(); com_Chart = var_Chart; com_Chart.MarkTodayColor(com_Chart.BackColor()); } |
536 |
Is there any function to get the date in the format that I use for levels, to layout my chart's header
|
535 |
How can I get the date from the point, cursor
|
534 |
How can I show or hide the small ticker that shows up when the cursor hovers the chart area
|
533 |
How can I change the first visible date in the chart
|
532 |
How can I scroll or ensure that a specified date time is visible in the chart
|
531 |
How can I scroll or ensure that a specified date time is visible to the right side of the chart or control
|
530 |
How can I scroll or ensure that a specified date time is visible
|
529 |
How can I show or hide the the tooltip being shown when the user scrolls the chart
|
528 |
How can I change the format of the tooltip when the user scrolls the chart
|
527 |
How can I hide the chart's scroll bar
|
526 |
How can I specify the first day of the week
|
525 |
How do I change the AM or PM shortcuts in the chart's header
|
524 |
How do I change the name for the months, being displayed in the chart's header
|
523 |
How do I change the name for the week days, being displayed in the chart's header
|
522 |
How do I access a level in the chart's header
|
521 |
How can I change the color for the grid lines between the leves in the chart's header
|
520 |
How can I show or hide the grid lines between the leves in the chart's header
public void init() { COM com_Chart,com_Level; anytype var_Chart,var_Level; ; super(); exg2antt1.GridLineColor(WinApi::RGB2int(255,0,0)); var_Chart = exg2antt1.Chart(); com_Chart = var_Chart; com_Chart.LevelCount(2); var_Level = COM::createFromObject(com_Chart.Level(0)); com_Level = var_Level; com_Level.DrawTickLines(false); var_Level = COM::createFromObject(com_Chart.Level(1)); com_Level = var_Level; com_Level.DrawTickLines(false); } |
519 |
How do I change the foreground color for the chart's header
|
518 |
How do I change the background color for the chart's header
|
517 |
How do I specify the chart's foreground color
|
516 |
How do I specify the chart's background color
|
515 |
How do I put a picture on the center of the chart
public void init() { ; super(); exg2antt1.Chart().Picture(exg2antt1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)")); exg2antt1.Chart().PictureDisplay(17/*MiddleCenter*/); } |
514 |
How do I resize/stretch a picture on the chart's background
public void init() { ; super(); exg2antt1.Chart().Picture(exg2antt1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)")); exg2antt1.Chart().PictureDisplay(49/*Stretch*/); } |
513 |
How do I put a picture on the chart's center right bottom side
public void init() { ; super(); exg2antt1.Chart().Picture(exg2antt1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)")); exg2antt1.Chart().PictureDisplay(34/*LowerRight*/); } |
512 |
How do I put a picture on the chart's center left bottom side
public void init() { ; super(); exg2antt1.Chart().Picture(exg2antt1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)")); exg2antt1.Chart().PictureDisplay(32/*LowerLeft*/); } |
511 |
How do I put a picture on the chart's center top side
public void init() { ; super(); exg2antt1.Chart().Picture(exg2antt1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)")); exg2antt1.Chart().PictureDisplay(1/*UpperCenter*/); } |
510 |
How do I put a picture on the chart's right top corner
public void init() { ; super(); exg2antt1.Chart().Picture(exg2antt1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)")); exg2antt1.Chart().PictureDisplay(2/*UpperRight*/); } |
509 |
How do I put a picture on the chart's left top corner
public void init() { ; super(); exg2antt1.Chart().Picture(exg2antt1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)")); exg2antt1.Chart().PictureDisplay(0/*UpperLeft*/); } |
508 |
How do I put a picture on the chart's background
|
507 |
How to specify the width for the left or side pane
|
506 |
How do I display the header of the chart using multiple levels, lines
|
505 |
How do change the width of the chart's area
|
504 |
How do I show or hide the control's chart area
|
503 |
How do I access the chart's area of the control
|
502 |
How can I select a cells like in excel
public void init() { COM com_Items; anytype var_Items; ; super(); exg2antt1.SingleSel(false); exg2antt1.FullRowSelect(1/*exRectSel*/); exg2antt1.MarkSearchColumn(false); exg2antt1.SearchColumnIndex(-1); exg2antt1.Columns().Add("Column1"); exg2antt1.Columns().Add("Column2"); exg2antt1.Columns().Add("Column3"); var_Items = exg2antt1.Items(); com_Items = var_Items; com_Items.DefaultItem(com_Items.AddItem(COMVariant::createFromInt(0))); com_Items.CellValue(COMVariant::createFromInt(0),COMVariant::createFromInt(1),COMVariant::createFromInt(1)); com_Items.CellValue(COMVariant::createFromInt(0),COMVariant::createFromInt(2),COMVariant::createFromInt(2)); com_Items.DefaultItem(com_Items.AddItem(COMVariant::createFromInt(3))); com_Items.CellValue(COMVariant::createFromInt(0),COMVariant::createFromInt(1),COMVariant::createFromInt(4)); com_Items.CellValue(COMVariant::createFromInt(0),COMVariant::createFromInt(2),COMVariant::createFromInt(5)); com_Items.DefaultItem(com_Items.AddItem(COMVariant::createFromInt(6))); com_Items.CellValue(COMVariant::createFromInt(0),COMVariant::createFromInt(1),COMVariant::createFromInt(7)); com_Items.CellValue(COMVariant::createFromInt(0),COMVariant::createFromInt(2),COMVariant::createFromInt(8)); } |
501 |
How can I select a multiple column
public void init() { COM com_Items; anytype var_Items; ; super(); exg2antt1.MarkSearchColumn(false); exg2antt1.SingleSel(false); exg2antt1.FullRowSelect(1/*exRectSel*/); COM::createFromVariant(exg2antt1.Columns().Add("Column1")).Selected(true); exg2antt1.Columns().Add("Column2"); COM::createFromVariant(exg2antt1.Columns().Add("Column3")).Selected(true); var_Items = exg2antt1.Items(); com_Items = var_Items; com_Items.DefaultItem(com_Items.AddItem(COMVariant::createFromInt(0))); com_Items.CellValue(COMVariant::createFromInt(0),COMVariant::createFromInt(1),COMVariant::createFromInt(1)); com_Items.CellValue(COMVariant::createFromInt(0),COMVariant::createFromInt(2),COMVariant::createFromInt(2)); com_Items.DefaultItem(com_Items.AddItem(COMVariant::createFromInt(3))); com_Items.CellValue(COMVariant::createFromInt(0),COMVariant::createFromInt(1),COMVariant::createFromInt(4)); com_Items.CellValue(COMVariant::createFromInt(0),COMVariant::createFromInt(2),COMVariant::createFromInt(5)); com_Items.DefaultItem(com_Items.AddItem(COMVariant::createFromInt(6))); com_Items.CellValue(COMVariant::createFromInt(0),COMVariant::createFromInt(1),COMVariant::createFromInt(7)); com_Items.CellValue(COMVariant::createFromInt(0),COMVariant::createFromInt(2),COMVariant::createFromInt(8)); exg2antt1.Items().SelectAll(); } |